<script setup>
// import { ref } from 'vue'
import { numFn, countFn } from './utils/index'
// const num = ref(0)
// const add = () => {
//   num.value++
// }
const { num, add } = numFn()
const { count, countAdd } = countFn()
</script>

<template>
  <div class="app-page">
    <h3>{{ num }}</h3>
    <button @click="add">点击++</button>
    <hr />
    <h3>{{ count }}</h3>
    <button @click="countAdd">点击++</button>
  </div>
</template>

<style scoped></style>
